package cn.monkey.chat.server.admin.domain.account;

import cn.monkey.chat.server.data.Result;
import cn.monkey.chat.server.data.account.Account;
import cn.monkey.chat.server.data.account.AccountCreateReq;
import cn.monkey.chat.server.data.account.Authorization;
import cn.monkey.chat.server.data.account.SignInReq;
import reactor.core.publisher.Mono;

public interface IAccountService {
    Mono<Result<Authorization>> signIn(SignInReq req);

    Mono<Result<Account>> create(AccountCreateReq req);
}
